package com.dcloud.flow.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: aip_flow_node
 * @Author: jeecg-boot
 * @Date:   2023-07-28
 * @Version: V1.0
 */
@Data
@TableName("aip_flow_node")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="aip_flow_node对象", description="aip_flow_node")
public class AipFlowNode implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;
	/**流程id*/
	@Excel(name = "流程id", width = 15)
    @ApiModelProperty(value = "流程id")
    private Integer flowId;
	/**流程节点id*/
	@Excel(name = "流程节点id", width = 15)
    @ApiModelProperty(value = "流程节点id")
    private String flowNodeId;
	/**流程节点关联的组件*/
	@Excel(name = "流程节点关联的组件", width = 15)
    @ApiModelProperty(value = "流程节点关联的组件")
    private String compCode;
	/**节点配置值;暂时只支持一个任务一个版本*/
	@Excel(name = "节点配置值;暂时只支持一个任务一个版本", width = 15)
    @ApiModelProperty(value = "节点配置值;暂时只支持一个任务一个版本")
    private String nodeConfigVal;
	/**节点配置参数*/
	@Excel(name = "节点配置参数", width = 15)
    @ApiModelProperty(value = "节点配置参数")
    private String nodeConfigKey;
	/**节点入参*/
	@Excel(name = "节点入参", width = 15)
    @ApiModelProperty(value = "节点入参")
    private String nodeInFields;
	/**节点出参*/
	@Excel(name = "节点出参", width = 15)
    @ApiModelProperty(value = "节点出参")
    private String nodeOutFields;
    /**字段映射*/
    @Excel(name = "字段映射", width = 15)
    @ApiModelProperty(value = "字段映射")
    private String fieldMap;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}
